package com.itheima.Zuoye01;
/*
冰箱类
属性：品牌、型号、颜色、售价、门款式、制冷方式
 */
public class Bingx extends Electric{
   String men;
   String fangshi;

    public Bingx() {
    }

    public Bingx(String brand, String xinghao, String color, double price, String men, String fangshi) {
        super(brand, xinghao, color, price);
        this.men = men;
        this.fangshi = fangshi;
    }

    public String getMen() {
        return men;
    }

    public void setMen(String men) {
        this.men = men;
    }

    public String getFangshi() {
        return fangshi;
    }

    public void setFangshi(String fangshi) {
        this.fangshi = fangshi;
    }
}
